package com.ptu.dto;

public class CommentListDTO {
    private Integer rating;
    private Integer isAnonymous;
    private Integer pageNum;
    private Integer pageSize;

    public CommentListDTO() {
    }

    public CommentListDTO(Integer rating, Integer isAnonymous, Integer pageNum, Integer pageSize) {
        this.rating = rating;
        this.isAnonymous = isAnonymous;
        this.pageNum = pageNum;
        this.pageSize = pageSize;
    }

    public Integer getRating() {
        return rating;
    }

    public void setRating(Integer rating) {
        this.rating = rating;
    }

    public Integer getIsAnonymous() {
        return isAnonymous;
    }

    public void setIsAnonymous(Integer isAnonymous) {
        this.isAnonymous = isAnonymous;
    }

    public Integer getPageNum() {
        return pageNum;
    }

    public void setPageNum(Integer pageNum) {
        this.pageNum = pageNum;
    }

    public Integer getPageSize() {
        return pageSize;
    }

    public void setPageSize(Integer pageSize) {
        this.pageSize = pageSize;
    }

    @Override
    public String toString() {
        return "CommentListDTO{" +
                "rating=" + rating +
                ", isAnonymous=" + isAnonymous +
                ", pageNum=" + pageNum +
                ", pageSize=" + pageSize +
                '}';
    }
}
